#!/bin/bash
# 固定时间备份/var/log

tar -zcf /mnt/log`date +%Y%m%d`.tar.gz /var/log
